let envID = 0
let baseURL = "https://it.dev.jaspicit.com/api"
let fileURL = "https://it.dev.jaspicit.com/webfile"
let tmplIds = ['dLSCOd6aAdKU40XdnsObYlbdNx9fIH2XOxhZuTbkwB0']
if(envID == 1){
	baseURL = "https://ittest.dev.jaspicit.com/api"
	fileURL = "https://ittest.dev.jaspicit.com/webfile"
	tmplIds = ['2Vh8_bAyzAmZ0ELl9Svy6QGC9hEWcfRVlPYhzHzBSw0']
}else if(envID == 2){
	baseURL = "https://itdemo.dev.jaspicit.com/api"
	fileURL = "https://itdemo.dev.jaspicit.com/webfile"
	tmplIds = ['TKcK5BPRdx94QutybN2OzKWwvhLb96ZBd_YBgwXqw_w']
}
// if(process.env.VUE_APP_PLATFORM == "h5"){
// 	baseURL = "https://it.dev.jaspicit.com/api"
// }else{
// 	baseURL = "https://it.dev.jaspicit.com/api"
// }
// if(process.env.NODE_ENV === 'development'){
//     console.log('开发环境')
// 	baseURL = "http://172.16.20.175/"
// }else{
//     console.log('生产环境')
// 	baseURL = "http://172.16.20.175/"
// }
let config = {
	clientId: 'explain_mall',
	tabPath: 'pages/tab/tab',
	tmplIds: tmplIds,
	fileURL: fileURL,
	httpConfig: {
		baseURL: baseURL,
		header: {
			// 'a': 1,
			// 'b': 2
		},
		custom: {
			auth: true
		},
		dataType: 'json',
		responseType: 'text',
		timeout: 60000,
	}
}
export default config
